package com.bishe.psy.service;

import com.bishe.psy.model.SCL90;
import com.bishe.psy.model.Sleep;

import java.util.List;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: L
 * Date: 2024-04-26
 * Time: 17:39
 */
public interface ISleepService {

    //1.新增一条sleep的测试问卷记录
    void create(Sleep sleep);

    //查询最新记录
    Sleep selectByIdNewResult(Long userId);

    //查询某个用户的所有sleep测试问卷记录
    List<Sleep> selectByUserId(Long userId);
}
